package com.example.mallorder.fegin;

import com.example.mallorder.controller.vo.CartItemVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author guanglin.ma
 * @date 2024-01-08 15:07
 */
@FeignClient("mall-cart")
@Component
public interface CartFeginService {

    @GetMapping("/getUserCartItems")
    List<CartItemVO> getUserCartItems();
}
